package com.yxy.time;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TestSimpleDateFormate {
	public static void main(String args[]){
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd hh:mm:ss");
	
		String dateStr = sdf.format(new Date());
		System.out.println(dateStr);
		
	}
}
